Routines (alphabetical) > Routines: C > CDF Routines > CDF_ATTNUM

CDF_ATTNUM

The CDF_ATTNUM function returns the attribute number associated with a particular attribute in a Common Data Format file.

Syntax

Result = CDF_ATTNUM(Id, Attribute_Name)

Return Value

Returns the attribute number.

Arguments

Id

The CDF ID for the file that contains the desired attribute, returned from a previous call to CDF_OPEN or CDF_CREATE.

Attribute_Name

A string containing the name of the attribute.

Keywords

None

Examples

See the example for CDF_ATTPUT.

Version History

 

Pre 4.0

Introduced